<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SkyGameEngine2d: SkyEngine2d::IAnimatableObject类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="shpe.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SkyGameEngine2d
   &#160;<span id="projectnumber">1.0.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>SkyEngine2d</b></li><li class="navelem"><a class="el" href="class_sky_engine2d_1_1_i_animatable_object.html">IAnimatableObject</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="class_sky_engine2d_1_1_i_animatable_object-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">SkyEngine2d::IAnimatableObject类 参考<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>可执行帧动画的接口  
 <a href="class_sky_engine2d_1_1_i_animatable_object.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_i_actable_object_8h_source.html">IActableObject.h</a>&gt;</code></p>
<div class="dynheader">
类 SkyEngine2d::IAnimatableObject 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_sky_engine2d_1_1_i_animatable_object.png" usemap="#SkyEngine2d::IAnimatableObject_map" alt=""/>
  <map id="SkyEngine2d::IAnimatableObject_map" name="SkyEngine2d::IAnimatableObject_map">
<area href="class_sky_engine2d_1_1_i_actable_object.html" title="可执行动作对象的接口" alt="SkyEngine2d::IActableObject" shape="rect" coords="0,0,194,24"/>
<area href="class_sky_engine2d_1_1_sprite.html" title="精灵贴图" alt="SkyEngine2d::Sprite" shape="rect" coords="0,112,194,136"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a93e303089648d378efb90a4adcdc2ee1"><td class="memItemLeft" align="right" valign="top">virtual SpriteFrameSharedPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_i_animatable_object.html#a93e303089648d378efb90a4adcdc2ee1">getSpriteFrame</a> () const =0</td></tr>
<tr class="memdesc:a93e303089648d378efb90a4adcdc2ee1"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取对象当前的精灵帧  <a href="#a93e303089648d378efb90a4adcdc2ee1">更多...</a><br /></td></tr>
<tr class="separator:a93e303089648d378efb90a4adcdc2ee1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2c85db21f492990886829e20c5e5a44"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_i_animatable_object.html#ab2c85db21f492990886829e20c5e5a44">setSpriteFrame</a> (const SpriteFrameSharedPtr &amp;sprite_frame)=0</td></tr>
<tr class="memdesc:ab2c85db21f492990886829e20c5e5a44"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置对象当前的精灵帧  <a href="#ab2c85db21f492990886829e20c5e5a44">更多...</a><br /></td></tr>
<tr class="separator:ab2c85db21f492990886829e20c5e5a44"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>可执行帧动画的接口 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a93e303089648d378efb90a4adcdc2ee1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93e303089648d378efb90a4adcdc2ee1">&#9670;&nbsp;</a></span>getSpriteFrame()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual SpriteFrameSharedPtr SkyEngine2d::IAnimatableObject::getSpriteFrame </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取对象当前的精灵帧 </p>
<dl class="section return"><dt>返回</dt><dd>SpriteFrameSharedPtr </dd></dl>

<p>在 <a class="el" href="class_sky_engine2d_1_1_sprite.html#abcc9600dccc1470dddccb38c5ee8509a">SkyEngine2d::Sprite</a> 内被实现.</p>

</div>
</div>
<a id="ab2c85db21f492990886829e20c5e5a44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2c85db21f492990886829e20c5e5a44">&#9670;&nbsp;</a></span>setSpriteFrame()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::IAnimatableObject::setSpriteFrame </td>
          <td>(</td>
          <td class="paramtype">const SpriteFrameSharedPtr &amp;&#160;</td>
          <td class="paramname"><em>sprite_frame</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置对象当前的精灵帧 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>SpriteFrameSharedPtr &amp; sprite_frame 精灵帧 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>在 <a class="el" href="class_sky_engine2d_1_1_sprite.html#a8449650ff96ff0e07c5fe45fb6e21204">SkyEngine2d::Sprite</a> 内被实现.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/code/SkyGameEngine2d/src/action/<a class="el" href="_i_actable_object_8h_source.html">IActableObject.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
